// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android.data;

import android.os.Parcel;
import android.os.Parcelable;
import org.json.JSONObject;

// Referenced classes of package com.mobage.us.android.data:
//            MBUUser

public class MBUParcelableUser extends MBUUser
{

    public static MBUParcelableUser a(JSONObject jsonobject)
    {
        MBUParcelableUser mbuparcelableuser;
        (mbuparcelableuser = new MBUParcelableUser()).setFromJson(jsonobject);
        mbuparcelableuser.setJsonObject(jsonobject);
        return mbuparcelableuser;
    }

    public int describeContents()
    {
        return 0;
    }

    public void writeToParcel(Parcel dest, int i)
    {
        dest.writeString(getId());
        dest.writeString(getDisplayName());
        dest.writeString(getNickname());
        dest.writeString(getFirstName());
        dest.writeString(getLastName());
        dest.writeString(getThumbnailUrl());
        dest.writeString(l());
        dest.writeBooleanArray(new boolean[] {
            b(), isHasApp(), getIsAgeRestricted(), h(), y(), z(), w(), v(), u(), t(), 
            s(), r(), A(), C()
        });
        dest.writeString(c());
        dest.writeString(getAboutMe());
        dest.writeInt(getAge());
        dest.writeString(a());
        dest.writeString(f());
        dest.writeString(getUUID());
        dest.writeString(i());
        dest.writeString(k());
        dest.writeString(getEmail());
        dest.writeInt(m());
        dest.writeInt(n());
        dest.writeInt(o());
        dest.writeString(p());
        dest.writeInt(B());
        dest.writeInt(q());
        dest.writeInt(x());
    }

    private MBUParcelableUser(Parcel in)
    {
        setId(in.readString());
        setDisplayName(in.readString());
        setNickname(in.readString());
        setFirstName(in.readString());
        d(in.readString());
        setThumbnailUrl(in.readString());
        j(in.readString());
        boolean aflag[] = new boolean[14];
        in.readBooleanArray(aflag);
        a(aflag[0]);
        setHasApp(aflag[1]);
        setAgeRestricted(aflag[2]);
        b(aflag[3]);
        i(aflag[4]);
        j(aflag[5]);
        h(aflag[6]);
        g(aflag[7]);
        f(aflag[8]);
        e(aflag[9]);
        d(aflag[10]);
        c(aflag[11]);
        k(aflag[12]);
        l(aflag[13]);
        b(in.readString());
        setAboutMe(in.readString());
        setAge(in.readInt());
        a(in.readString());
        e(in.readString());
        setUUID(in.readString());
        g(in.readString());
        i(in.readString());
        setEmail(in.readString());
        a(in.readInt());
        b(in.readInt());
        c(in.readInt());
        k(in.readString());
        f(in.readInt());
        d(in.readInt());
        e(in.readInt());
    }

    private MBUParcelableUser()
    {
    }

    MBUParcelableUser(Parcel x0, byte byte0)
    {
        this(x0);
    }

    public static final android.os.Parcelable.Creator CREATOR = new android.os.Parcelable.Creator() {

        public final Object[] newArray(int i)
        {
            return new MBUUser[i];
        }

        public final Object createFromParcel(Parcel parcel)
        {
            return new MBUParcelableUser(parcel, (byte)0);
        }

    }
;

}
